package com.honghu.cloud.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.honghu.cloud.bean.SeckillGoods;
import com.honghu.cloud.common.dao.SupperDao;


/**
 * 秒杀商品表
 * 
 * @author l
 * @email l@qq.com
 * @date 2021-04-15 11:28:53
 */
public interface SeckillGoodsDao extends SupperDao {
	void batchDelete(List<SeckillGoods> objs);

	List<SeckillGoods> selectObjByProperty(Map<String, Object> maps);

	SeckillGoods selectByPrimaryKey(Long id);

	List<SeckillGoods> queryPageList(Map<String, Object> maps);

	Integer selectCount(Map<String, Object> maps);

	List<SeckillGoods> queryByIds(List<Long> ids);	

	void saveEntity(SeckillGoods obj);

	void updateById(SeckillGoods obj);

	void deleteById(@Param(value="id")Long id);
	List<SeckillGoods> queryPages(Map<String,Object> params);

	void batchDeleteByIds(List<Long> ids);

	List<SeckillGoods> queryPagesWithNoRelations(Map<String,Object> params);

	List<SeckillGoods> queryPageListWithNoRelations(Map<String,Object> params);

	List<SeckillGoods> timerList();
	List<SeckillGoods> timerSetRedis();

	SeckillGoods selectByGoodsId(String goods_id);

	List<SeckillGoods> timerListEnd();
	
}
